package com.modbus.service.impl;

import com.modbus.mybatis.entity.TbUser;
import com.modbus.mybatis.mapper.UserMapper;
import com.modbus.service.IUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("userService")
public class UserServiceImpl implements IUserService {
    @Autowired
    private UserMapper userMapper;

    @Override
    public List<TbUser> findAll() {
        return userMapper.selectAll();
    }
}